package UIComponents
{
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	
	public class BubbleUp extends Sprite
	{
		private var txt:TextField;
		public function BubbleUp()
		{
			txt=this.getChildByName("bubleTxt") as TextField;
			txt.autoSize=TextFieldAutoSize.CENTER;
		}
		
		public function setPopTxt(str:String):void
		{
			txt.htmlText="";
			txt.htmlText=str;
		}
		
		public function get txtF():TextField
		{
			return txt;
		}
		
		public function get bg():Sprite
		{
			return this.getChildByName("mc_bg") as Sprite;
		}
		
		public function get jt():Sprite
		{
			return this.getChildByName("mc_arrow") as Sprite;
		}
	}
}